﻿<%@ Page Language="C#" MasterPageFile="~/Pages/MainPage.Master" AutoEventWireup="true" CodeBehind="UpdateRole.aspx.cs" Inherits="ContractManagermentSystem.Pages.UpdateRole" Title="Update Role" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
        .style2
        {
            text-align: center;
        }
        .style3
        {
            width: 164px;
        }
        .style5
        {
            width: 110px;
        }
        .style6
        {
            width: 338px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="body" runat="server">
   <table>
        <tr>
            <td>
                <asp:HyperLink ID="HomeHyperLink" runat="server" NavigateUrl="#">Home</asp:HyperLink>
&nbsp;<asp:ImageButton ID="ImageButton" runat="server" 
                    ImageUrl="~/Presentation/Images/navbit.png" />
&nbsp;<asp:HyperLink ID="RoleManagementHyperLink" runat="server" Font-Bold="False" 
                    NavigateUrl="~/Pages/RoleManagement.aspx">Role Management</asp:HyperLink>
&nbsp;<asp:ImageButton ID="ImageButton0" runat="server" 
                    ImageUrl="~/Presentation/Images/navbit.png" />
&nbsp;<asp:HyperLink ID="UpdateRoleHyperLink" runat="server" Font-Bold="True" 
                    NavigateUrl="~/Pages/UpdateRole.aspx">Update Role</asp:HyperLink>
            </td>
        </tr>
    </table>
    <h1>Update Role</h1>
    <table class="style1">
        <tr>
            <td>
                <table cellpadding="4" cellspacing="4" class="style1">
                    <tr>
                        <td class="style2" colspan="4">
                            <asp:Label ID="MessageLabel" runat="server" style="color: #0000FF" Text="Label" 
                                Visible="False"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td class="style6">
                            &nbsp;</td>
                        <td class="style5">
                            Role Name:</td>
                                            <td class="style3">
                                                <asp:TextBox ID="RoleNameTextBox" runat="server"></asp:TextBox>
                                            </td>
                                            <td>
                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                                                    ControlToValidate="RoleNameTextBox" ErrorMessage="Not null"></asp:RequiredFieldValidator>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="style6">
                                                &nbsp;</td>
                                            <td class="style5">
                                                Status:</td>
                        <td class="style3">
                            <asp:CheckBox ID="StatusCheckBox" runat="server" Text="Active" />
                        </td>
                        <td>
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td class="style6">
                            &nbsp;</td>
                        <td class="style5">
                            &nbsp;</td>
                        <td class="style3">
                            <asp:Button ID="UpdateButton" runat="server" Text="Update" 
                                onclick="UpdateButton_Click" style="height: 26px" />
                        </td>
                        <td>
                            &nbsp;</td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
        </tr>
    </table>
</asp:Content>

